Optimal. Leaf size=163 \[ \frac{1}{20} \sqrt{10-2 \sqrt{5}} \tan ^{-1}\left (\frac{\sqrt{10-2 \sqrt{5}} x}{2 \left (1-x^2\right )}\right )+\frac{1}{20} \sqrt{10+2 \sqrt{5}} \tan ^{-1}\left (\frac{\sqrt{10+2 \sqrt{5}} x}{2 \left (1-x^2\right )}\right )+\frac{1}{20} \left (1-\sqrt{5}\right ) \tanh ^{-1}\left (\frac{\left (1-\sqrt{5}\right ) x}{2 \left (x^2+1\right )}\right )+\frac{1}{20} \left (1+\sqrt{5}\right ) \tanh ^{-1}\left (\frac{\left (1+\sqrt{5}\right ) x}{2 \left (x^2+1\right )}\right )+\frac{1}{5} \tanh ^{-1}(x) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.469714, antiderivative size = 325, normalized size of antiderivative = 1.99, number of steps used = 10, number of rules used = 6, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667 \[ -\frac{1}{40} \left (1-\sqrt{5}\right ) \log \left (x^2-\frac{1}{2} \left (1-\sqrt{5}\right ) x+1\right )+\frac{1}{40} \left (1-\sqrt{5}\right ) \log \left (x^2+\frac{1}{2} \left (1-\sqrt{5}\right ) x+1\right )-\frac{1}{40} \left (1+\sqrt{5}\right ) \log \left (x^2-\frac{1}{2} \left (1+\sqrt{5}\right ) x+1\right )+\frac{1}{40} \left (1+\sqrt{5}\right ) \log \left (x^2+\frac{1}{2} \left (1+\sqrt{5}\right ) x+1\right )-\frac{1}{10} \sqrt{\frac{1}{2} \left (5+\sqrt{5}\right )} \tan ^{-1}\left (\frac{-4 x-\sqrt{5}+1}{\sqrt{2 \left (5+\sqrt{5}\right )}}\right )-\frac{1}{10} \sqrt{\frac{1}{2} \left (5-\sqrt{5}\right )} \tan ^{-1}\left (\frac{1}{2} \sqrt{\frac{1}{10} \left (5+\sqrt{5}\right )} \left (-4 x+\sqrt{5}+1\right )\right )+\frac{1}{10} \sqrt{\frac{1}{2} \left (5+\sqrt{5}\right )} \tan ^{-1}\left (\frac{4 x-\sqrt{5}+1}{\sqrt{2 \left (5+\sqrt{5}\right )}}\right )+\frac{1}{10} \sqrt{\frac{1}{2} \left (5-\sqrt{5}\right )} \tan ^{-1}\left (\frac{1}{2} \sqrt{\frac{1}{10} \left (5+\sqrt{5}\right )} \left (4 x+\sqrt{5}+1\right )\right )+\frac{1}{5} \tanh ^{-1}(x) \]
Antiderivative was successfully verified.
[In] Int[(1 - x^10)^(-1),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 38.7375, size = 291, normalized size = 1.79 \[ - \left (- \frac{\sqrt{5}}{40} + \frac{1}{40}\right ) \log{\left (x^{2} + x \left (- \frac{1}{2} + \frac{\sqrt{5}}{2}\right ) + 1 \right )} + \left (\frac{1}{40} + \frac{\sqrt{5}}{40}\right ) \log{\left (x^{2} + x \left (\frac{1}{2} + \frac{\sqrt{5}}{2}\right ) + 1 \right )} - \left (\frac{1}{40} + \frac{\sqrt{5}}{40}\right ) \log{\left (x^{2} + x \left (- \frac{\sqrt{5}}{2} - \frac{1}{2}\right ) + 1 \right )} + \left (- \frac{\sqrt{5}}{40} + \frac{1}{40}\right ) \log{\left (x^{2} + x \left (- \frac{\sqrt{5}}{2} + \frac{1}{2}\right ) + 1 \right )} + \frac{\sqrt{- \frac{\sqrt{5}}{8} + \frac{5}{8}} \operatorname{atan}{\left (\frac{x + \frac{1}{4} + \frac{\sqrt{5}}{4}}{\sqrt{- \frac{\sqrt{5}}{8} + \frac{5}{8}}} \right )}}{5} + \frac{\sqrt{- \frac{\sqrt{5}}{8} + \frac{5}{8}} \operatorname{atan}{\left (\frac{x - \frac{\sqrt{5}}{4} - \frac{1}{4}}{\sqrt{- \frac{\sqrt{5}}{8} + \frac{5}{8}}} \right )}}{5} + \frac{\sqrt{\frac{\sqrt{5}}{8} + \frac{5}{8}} \operatorname{atan}{\left (\frac{x - \frac{1}{4} + \frac{\sqrt{5}}{4}}{\sqrt{\frac{\sqrt{5}}{8} + \frac{5}{8}}} \right )}}{5} + \frac{\sqrt{\frac{\sqrt{5}}{8} + \frac{5}{8}} \operatorname{atan}{\left (\frac{x - \frac{\sqrt{5}}{4} + \frac{1}{4}}{\sqrt{\frac{\sqrt{5}}{8} + \frac{5}{8}}} \right )}}{5} + \frac{\operatorname{atanh}{\left (x \right )}}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(-x**10+1),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.68479, size = 289, normalized size = 1.77 \[ \frac{1}{40} \left (-\left (\sqrt{5}-1\right ) \log \left (x^2-\frac{1}{2} \left (\sqrt{5}-1\right ) x+1\right )+\left (\sqrt{5}-1\right ) \log \left (x^2+\frac{1}{2} \left (\sqrt{5}-1\right ) x+1\right )-\left (1+\sqrt{5}\right ) \log \left (x^2-\frac{1}{2} \left (1+\sqrt{5}\right ) x+1\right )+\left (1+\sqrt{5}\right ) \log \left (\frac{1}{2} \left (2 x^2+\sqrt{5} x+x+2\right )\right )-4 \log (1-x)+4 \log (x+1)-2 \sqrt{10-2 \sqrt{5}} \tan ^{-1}\left (\frac{-4 x+\sqrt{5}+1}{\sqrt{10-2 \sqrt{5}}}\right )+2 \sqrt{2 \left (5+\sqrt{5}\right )} \tan ^{-1}\left (\frac{4 x-\sqrt{5}+1}{\sqrt{2 \left (5+\sqrt{5}\right )}}\right )+2 \sqrt{2 \left (5+\sqrt{5}\right )} \tan ^{-1}\left (\frac{4 x+\sqrt{5}-1}{\sqrt{2 \left (5+\sqrt{5}\right )}}\right )+2 \sqrt{10-2 \sqrt{5}} \tan ^{-1}\left (\frac{4 x+\sqrt{5}+1}{\sqrt{10-2 \sqrt{5}}}\right )\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(1 - x^10)^(-1),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.04, size = 426, normalized size = 2.6 \[ -{\frac{\ln \left ( -1+x \right ) }{10}}+{\frac{\ln \left ( x\sqrt{5}+2\,{x}^{2}+x+2 \right ) \sqrt{5}}{40}}+{\frac{\ln \left ( x\sqrt{5}+2\,{x}^{2}+x+2 \right ) }{40}}+{\frac{1}{2\,\sqrt{10-2\,\sqrt{5}}}\arctan \left ({\frac{1+4\,x+\sqrt{5}}{\sqrt{10-2\,\sqrt{5}}}} \right ) }-{\frac{\sqrt{5}}{10\,\sqrt{10-2\,\sqrt{5}}}\arctan \left ({\frac{1+4\,x+\sqrt{5}}{\sqrt{10-2\,\sqrt{5}}}} \right ) }-{\frac{\ln \left ( -x\sqrt{5}+2\,{x}^{2}+x+2 \right ) \sqrt{5}}{40}}+{\frac{\ln \left ( -x\sqrt{5}+2\,{x}^{2}+x+2 \right ) }{40}}+{\frac{1}{2\,\sqrt{10+2\,\sqrt{5}}}\arctan \left ({\frac{1+4\,x-\sqrt{5}}{\sqrt{10+2\,\sqrt{5}}}} \right ) }+{\frac{\sqrt{5}}{10\,\sqrt{10+2\,\sqrt{5}}}\arctan \left ({\frac{1+4\,x-\sqrt{5}}{\sqrt{10+2\,\sqrt{5}}}} \right ) }+{\frac{\ln \left ( 1+x \right ) }{10}}+{\frac{\ln \left ( x\sqrt{5}+2\,{x}^{2}-x+2 \right ) \sqrt{5}}{40}}-{\frac{\ln \left ( x\sqrt{5}+2\,{x}^{2}-x+2 \right ) }{40}}+{\frac{1}{2\,\sqrt{10+2\,\sqrt{5}}}\arctan \left ({\frac{\sqrt{5}+4\,x-1}{\sqrt{10+2\,\sqrt{5}}}} \right ) }+{\frac{\sqrt{5}}{10\,\sqrt{10+2\,\sqrt{5}}}\arctan \left ({\frac{\sqrt{5}+4\,x-1}{\sqrt{10+2\,\sqrt{5}}}} \right ) }-{\frac{\ln \left ( -x\sqrt{5}+2\,{x}^{2}-x+2 \right ) \sqrt{5}}{40}}-{\frac{\ln \left ( -x\sqrt{5}+2\,{x}^{2}-x+2 \right ) }{40}}+{\frac{1}{2\,\sqrt{10-2\,\sqrt{5}}}\arctan \left ({\frac{-\sqrt{5}+4\,x-1}{\sqrt{10-2\,\sqrt{5}}}} \right ) }-{\frac{\sqrt{5}}{10\,\sqrt{10-2\,\sqrt{5}}}\arctan \left ({\frac{-\sqrt{5}+4\,x-1}{\sqrt{10-2\,\sqrt{5}}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(-x^10+1),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \frac{1}{10} \, \int \frac{x^{3} + 2 \, x^{2} + 3 \, x + 4}{x^{4} + x^{3} + x^{2} + x + 1}\,{d x} - \frac{1}{10} \, \int \frac{x^{3} - 2 \, x^{2} + 3 \, x - 4}{x^{4} - x^{3} + x^{2} - x + 1}\,{d x} + \frac{1}{10} \, \log \left (x + 1\right ) - \frac{1}{10} \, \log \left (x - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-1/(x^10 - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-1/(x^10 - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 12.5254, size = 70, normalized size = 0.43 \[ - \frac{\log{\left (x - 1 \right )}}{10} + \frac{\log{\left (x + 1 \right )}}{10} - \operatorname{RootSum}{\left (10000 t^{4} - 1000 t^{3} + 100 t^{2} - 10 t + 1, \left ( t \mapsto t \log{\left (- 10 t + x \right )} \right )\right )} - \operatorname{RootSum}{\left (10000 t^{4} + 1000 t^{3} + 100 t^{2} + 10 t + 1, \left ( t \mapsto t \log{\left (- 10 t + x \right )} \right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(-x**10+1),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.230918, size = 301, normalized size = 1.85 \[ \frac{1}{40} \,{\left (\sqrt{5} + 1\right )}{\rm ln}\left (x^{2} + \frac{1}{2} \, x{\left (\sqrt{5} + 1\right )} + 1\right ) - \frac{1}{40} \,{\left (\sqrt{5} + 1\right )}{\rm ln}\left (x^{2} - \frac{1}{2} \, x{\left (\sqrt{5} + 1\right )} + 1\right ) + \frac{1}{40} \,{\left (\sqrt{5} - 1\right )}{\rm ln}\left (x^{2} + \frac{1}{2} \, x{\left (\sqrt{5} - 1\right )} + 1\right ) - \frac{1}{40} \,{\left (\sqrt{5} - 1\right )}{\rm ln}\left (x^{2} - \frac{1}{2} \, x{\left (\sqrt{5} - 1\right )} + 1\right ) + \frac{1}{20} \, \sqrt{2 \, \sqrt{5} + 10} \arctan \left (\frac{4 \, x + \sqrt{5} - 1}{\sqrt{2 \, \sqrt{5} + 10}}\right ) + \frac{1}{20} \, \sqrt{2 \, \sqrt{5} + 10} \arctan \left (\frac{4 \, x - \sqrt{5} + 1}{\sqrt{2 \, \sqrt{5} + 10}}\right ) + \frac{1}{20} \, \sqrt{-2 \, \sqrt{5} + 10} \arctan \left (\frac{4 \, x + \sqrt{5} + 1}{\sqrt{-2 \, \sqrt{5} + 10}}\right ) + \frac{1}{20} \, \sqrt{-2 \, \sqrt{5} + 10} \arctan \left (\frac{4 \, x - \sqrt{5} - 1}{\sqrt{-2 \, \sqrt{5} + 10}}\right ) + \frac{1}{10} \,{\rm ln}\left ({\left | x + 1 \right |}\right ) - \frac{1}{10} \,{\rm ln}\left ({\left | x - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-1/(x^10 - 1),x, algorithm="giac")
[Out]